package com.ruoyi.tsjData.domain.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提升机-环境测试结果对象 data_tshj_hj_result
 * 
 * @author ruoyi
 * @date 2023-11-07
 */
@Getter
@ApiModel(value = "提升机-环境测试结果对象")
public class DataTshjHjResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 环境测试结果ID */
    private Long hjId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    @ApiModelProperty(value = "测试任务ID")
    private Long dataTaskId;

    /** 测试结果ID */
    @Excel(name = "测试结果ID")
    @ApiModelProperty(value = "测试结果ID")
    private Long dataResultId;

    /** 温度 */
    @Excel(name = "温度")
    @ApiModelProperty(value = "温度")
    private String wd;

    /** 湿度 */
    @Excel(name = "湿度")
    @ApiModelProperty(value = "湿度")
    private String shd;

    /** 大气压 */
    @Excel(name = "大气压")
    @ApiModelProperty(value = "大气压")
    private String dqy;

    /** 甲烷浓度 */
    @Excel(name = "甲烷浓度")
    @ApiModelProperty(value = "甲烷浓度")
    private String jwnd;

    /** 转速 */
    @Excel(name = "转速")
    @ApiModelProperty(value = "转速")
    private String zhs;

    /** 是否显示甲烷浓度(0否 1是) */
    @Excel(name = "是否显示甲烷浓度(0否 1是)")
    @ApiModelProperty(value = "是否显示甲烷浓度(0否 1是)")
    private String showJw;

    /** 是否显示转速(0否 1是) */
    @Excel(name = "是否显示转速(0否 1是)")
    @ApiModelProperty(value = "是否显示转速(0否 1是)")
    private String showZhs;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setHjId(Long hjId)
    {
        this.hjId = hjId;
    }

    public void setDataTaskId(Long dataTaskId)
    {
        this.dataTaskId = dataTaskId;
    }

    public void setWd(String wd)
    {
        this.wd = wd;
    }

    public void setShd(String shd)
    {
        this.shd = shd;
    }

    public void setDqy(String dqy)
    {
        this.dqy = dqy;
    }

    public void setJwnd(String jwnd)
    {
        this.jwnd = jwnd;
    }

    public void setZhs(String zhs)
    {
        this.zhs = zhs;
    }

    public void setShowJw(String showJw)
    {
        this.showJw = showJw;
    }

    public void setShowZhs(String showZhs)
    {
        this.showZhs = showZhs;
    }

    public void setSaveTime(Date saveTime)
    {
        this.saveTime = saveTime;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public void setDataResultId(Long dataResultId) {
        this.dataResultId = dataResultId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hjId", getHjId())
            .append("dataTaskId", getDataTaskId())
            .append("wd", getWd())
            .append("shd", getShd())
            .append("dqy", getDqy())
            .append("jwnd", getJwnd())
            .append("zhs", getZhs())
            .append("showJw", getShowJw())
            .append("showZhs", getShowZhs())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
